﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Reporting.Domain.RBAC
{
    /// <summary>
    /// 权限表
    /// </summary>
    public class Permission 
    {
        /// <summary>
        /// 权限表主键
        /// </summary>
        [Key]
        public int PermissionId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 权限描述
        /// </summary>
        public string PermissionDescription { get; set; }
        /// <summary>
        /// 创建时间，自动生成当前时间
        /// </summary>
        public DateTime PermissionCreatedAt { get; set; }
    }
}
